Automated Presentation of directory src/swtools/trubasic/rolldemos/demos/rgb/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


Please be aware: what appears below are the v4.2 DT bits in auto-generated html form.
As we have the time, we will update these to reflect the current "state of the world".


README file from "rgb" directory

Demos for True BASIC using SET MODE "RGB" and GSHADE(pts(,),clrs())
-------------------------------------------------------------------

These programs use the Silicon Graphics specific functions for doing
Gourard shading and RGB colors.

The SET MODE "RGB" statement changes the configuration from color map mode
to RGB mode.  The color map is stored internally by True BASIC so that
references to color names and numbers have consistent behavior in both modes.
SET MODE "CMAP" returns the program to color map mode.

The GSHADE(pts(,),clrs()) function requires a two dimensional array of points
and a corresponding array of color numbers.  The GSHADE function performs
Gourard shading (color blending between vertices) for polygons.

These demos also use the SET MODE "DOUBLEBUFFER" feature for animation.
Note that programs using doublebuffering must call the SET MODE "DOUBLEBUFFER"
statement before any other graphics commands.

Files of interest from "src/swtools/trubasic/rolldemos/demos/rgb" directory

Documentation


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire rgb directory.

Copyright © 1995, Silicon Graphics, Inc.